//
//  DownLoadImageOreration.h
//  LO_MUSIC
//
//  Created by 胡林 on 16/2/25.
//  Copyright © 2016年 杨少锋. All rights reserved.
//自定义线程（自定义线程块）

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class DownLoadImageOreration;
//自定义协议
@protocol DownloadImageOrerationDelegate <NSObject>

-(void)getImage:(UIImage *)image opreation:(DownLoadImageOreration *)opreation;

@end

@interface DownLoadImageOreration : NSOperation
//图片的了解
@property(nonatomic ,copy)NSString * url;
//
@property(nonatomic , strong)NSIndexPath * indexPath;

//代理
@property(nonatomic , weak) id<DownloadImageOrerationDelegate>delegate;


@end
